import Left from './left/Left';
import Right from './right/Right';
import {Col, Row} from 'antd';
import {useState} from 'react';

const App = () => {

  const [selectedId, setSelectedId] = useState(-1);

  return (
    <Row>
      <Col span={11}>
        <Left data={{selectedId, setSelectedId}}/>
      </Col>
      <Col span={13}>
        <Right data={{selectedId}}/>
      </Col>
    </Row>
  );
};

export default App;
